home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 132
/
Tiger_Disk_132_20xx_Tiger-Crew-Disk_de_Side_A.d64
/
tombola pac
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
3KB
|
109 lines
2 g=1:p=60:y=110:gosub200:gosub4000
5 rem tombola pac
6 rem von peter diehm 23.4.1991
7 rem (w) fuer public domain
8 a=20:a=a+int(12*rnd(1))+1::s=1
10 poke 53280,0:poke53281,0:printchr$(142)"[147]":poke 650,255:poke657,128
11 rem start
12 fort=1to20:print"--";:next
14 print" tombola pac"
15 print" (w) by p.d. fuer den pd gebrauch
18 [129]t[178]1[164]20:[153]"--";:[130]
20 [141] 1000
25 [129]i[178]1[164]20:[153]"--";:[130]
28 [153]" 1 2 3 4 5 6":[141] 150
29 [151] v[170]0,p:[151]v[170]1,y
30 [161] d$:[139]d$[178]"" [167]30
32 [139] d$[178]"+" [167] g[178]g[170]1
34 [139] d$[178]"-" [167] g[178]g[171]1
36 [139] d$[178]"^" [167] 50
38 [139] g[178]7 [167] g[178]1
39 [139] g[178]0 [167] g[178]6
40 [139] g[178]1 [167] p[178]60:y[178]110
41 [139] g[178]2 [167]p[178]100:y[178]110
42 [139] g[178]3 [167]p[178]140:y[178]110
43 [139] g[178]4 [167] p[178]180:y[178]110
44 [139] g[178]5 [167] p[178]220:y[178]110
45 [139] g[178]6 [167] p[178]255:y[178]110
49 [137] 29
50 [153][166]3)"ok.
52 printspc(3)"du ziehst das los"g""
53 fort=1to100:pokev+39,t:nextt:pokev+39,7
54 if g=f then w=int(11*rnd(1))+1:printspc(3)"du gewinnst"w"$":a=a+w
56 if g<>f then printspc(3)"leider eine niete !":a=a-1
59 printspc(30)"-taste-"
65 get c$:ifc$="" then 65
66 k=k+1
67 if a<-50 then 3500
68 if a>100 thengoto2000
69 goto 10
99 end
150 print" kohle:[146]"a"$ spiel nr."k"":return
199 end
200 rem sprite
210 v=53248:poke v+39,7:pokev+23,29
220 for i= 0 to 64:read x:poke 832+i,x
250 next i
260 data 60,0,0,110,0,0,255,0,0,7,0,0,15,0,0,30,0,0,60,0,0,0,0,0,0,0,0,0,0,0,0,
270 data0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
275 data 60,0,0,110,0,0,255,0,0,15,0,0,255,0,0,126,0,0,60,0,0,0,0,0,0,0,0,0,0,0
380 poke 53269,1:poke2040,13:pokev+43,0
400 poke v+0,p:poke v+1,y
405 return
1000 print" [207][183][183][208] [207][183][183][208] [207][183][183][208] [207][183][183][208] [207][183][183][208] [207][183][183][208] p
1002 [153]" fn + fn + fn + fn + fn + fn + a
1004 print" [165] [170] [165] [170] [165] [170] [165] [170] [165] [170] [165] [170] c
1005 [153]" usrusrusrusr usrusrusrusr usrusrusrusr usrusrusrusr usrusrusrusr usrusrusrusr i
1008 f=int(7*rnd(1))+1
1010 return
2000 rem
2001 o=int(5*rnd(1))+1
2003 on o goto 10,2010,2020,2030,10
2005 goto 2000
2010 printspc(3)"der losverkauefer ist pleite !"
2012 fori=1to3000:next:goto3000
2020 printspc(3)"die tombola wird geschlossen !"
2022 fori=1to3000:next:goto3000
2030 printspc(3)"du hast keine lust mehr !"
2032 fori=1to3000:next:goto3000
3000 print"[147]":poke 53269,0
3002 printspc(3)"du bist einwenig traurig, dass du
3004 [153][166]3)"nicht mehr weiter spielen kannst
3007 printspc(3)"doch das gewonnene geld ist ein
3009 [139] a[177]100 [175] a[179]110 [167] [153][166]3)"kleiner trost !"
3010 [139] a[177]110 [167][153][166]3)"grosser trost !"
3012 [153][166]3)"du hast "a" kohle gewonnen - damit
3015 printspc(3)"kaufst du dir 100 pd disketten.
3020 [153][166]30)"-taste-"
3022 [161] d$:[139]d$[178]"" [167] 3022
3024 [153][166]3)"noch ein game (j/n) ";:[133] y$
3026 [139] y$[178]"j" [176] y$[178]"ja" [167] [138]
3027 [139] y$[178]"n" [176] y$[178]"nein" [167] 4000
3030 [153][166]3)"entweder ja oder nein !!!":[137] 3024
3500 [153][166]3)"du wirst von der tombola
3502 printspc(3)"verbannt."
3505 goto 3024
4000 print"[147]":poke53281,0:poke53280,0:printchr$(14)""
4002 poke 53269,1:pokev+0,60:pokev+1,60
4004 printspc(5)" [212]ombola [208]ac
4005 [153][166]5)" von (NULL)eter str$iehm
4007 printspc(5)" (w) by 23.4.1991
4010 [129]t[178]1[164]20:[153]"--";:[130]
4012 [153]" (NULL)aciboy ist bei seinem (NULL)onntags-
4013 print" [193]usflug in eine [198]eier mit einer
4015 [153]" (NULL)ombola gekommen ! valifrig versucht
4016 print" er, seine [203]ohle ([199]eld) zu vermehren !
4018 [153]" valin (NULL)os kostet 1 $. str$u kannst unter
4019 print" 6 [204]osen aussuchen, indem du [208]aciboy
4020 [153]" mit den (NULL)asten +wait/-wait = rechts/links
4023 print" steuerst und mit ^[146] das [204]os ziehst.
4025 [153]"def (NULL)iel valrfolg !!!
4028 print" [154](w) fuer [208]ublic [196]omain
4030 [153][166]30)"-(NULL)aste-"
4034 [161] d$:[139]d$[178]"" [167] 4034
4037 [142]
5000 [143] peter diehm
5002 [143] waldstr.58
5005 [143] 6149 rimbach 1
5010 [143] ihr duerft kopieren !!!